package org.jeecg.modules.sanitation2.service.impl;

import org.jeecg.modules.sanitation2.entity.LwgyTargetType;
import org.jeecg.modules.sanitation2.mapper.LwgyTargetTypeMapper;
import org.jeecg.modules.sanitation2.service.ILwgyTargetTypeService;
import org.springframework.stereotype.Service;
import java.util.List;
import com.baomidou.mybatisplus.extension.service.impl.ServiceImpl;
import org.springframework.beans.factory.annotation.Autowired;

/**
 * @Description: 打分指标
 * @Author: jeecg-boot
 * @Date:   2021-04-29
 * @Version: V1.0
 */
@Service
public class LwgyTargetTypeServiceImpl extends ServiceImpl<LwgyTargetTypeMapper, LwgyTargetType> implements ILwgyTargetTypeService {
	
	@Autowired
	private LwgyTargetTypeMapper lwgyTargetTypeMapper;
	
	@Override
	public List<LwgyTargetType> selectByMainId(String mainId) {
		return lwgyTargetTypeMapper.selectByMainId(mainId);
	}

	@Override
	public void insertTargetInfo(List<LwgyTargetType> roomList) {
		lwgyTargetTypeMapper.insertTargetInfo(roomList);
	}

}
